package com.wulin.mapper;

import com.wulin.pojo.UserData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserDataMapper {
    List<UserData> selectAll();

    int delete(int id);

    int update(UserData user);

    String selectUserType(@Param("username")String username, @Param("password")String password);

    int insert(UserData user);
}
